package com.cmh.mynfc;

import android.os.Bundle;
import android.widget.Toast;

import androidx.annotation.Nullable;

public class NFCResponseActivity extends BaseNfcAActivity{
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_response);
    }

    @Override
    public void onGetNfcText(String message) {
        runOnUiThread(()->{
            Toast.makeText(this, "收到消息", Toast.LENGTH_SHORT).show();
        });
    }
}
